import './assets/main.css'
import "normalize.css"

import { createApp } from 'vue'
import App from './App.vue'
//引入路由
import router from './router'
//引入Vuex
//引入图标集
import *as ElementPlusIconsVue from '@element-plus/icons-vue'
import store from '@/store'
//引入i18n
import i18n from './i18n'
import '@/mock'
import CmTable from './components/CmTable.vue';


const app = createApp(App)
for (const [Key,component] of Object.entries(ElementPlusIconsVue)){
    app.component(Key,component)
}
//挂载路由
app.use(router)

//挂载Vuex
app.use(store)
//挂载i18n
app.use(i18n)

app.component(CmTable.name, CmTable);
app.mount('#app')
